package com.pengshun.modules.api.system.domain;

import com.fasterxml.jackson.annotation.JsonView;
import com.pengshun.modules.common.ReslutView;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@AllArgsConstructor
@Entity
@Data
@NoArgsConstructor
@Table(name = "ps_district")

public class Districts {

    @JsonView(ReslutView.aView.class)
    @Id
    private Integer districtId;
    @JsonView(ReslutView.aView.class)
    private String  district;

    private Integer cityId;


}
